import request from '@/utils/request'

/**
 * 通讯录-列表
 * @param {*} data
 *
 */
export function adminAddressBookListApi(data) {
    return request({
        url: 'adminAddressBook/queryUserList',
        method: 'post',
        data: data,
        headers: {
            'Content-Type': 'application/json;charset=UTF-8'
        }
    })
}
/**
 * 通讯录同步
 * @param {*} data
 *
 */
export function synchronousAddressBookApi(data) {
    return request({
        url: 'adminAddressBook/synchronousAddressBook',
        method: 'post',
        data: data,
    })
}